import axios from './http'

const Login = p => axios.post('/login', p);
const Upload = p => axios.post('/file/upload', p);
const GetMenus = p => axios.get('/administrator/getMenus', p);

export default {
	Login,
	GetMenus,
	Upload
}
